<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>付款申请审批</title>
  <jsp:include page="../inc.jsp"></jsp:include>
  <script src="<%=request.getContextPath() %>/resources/js/purchase/paymentManage.js"
          type="text/javascript"></script>
  <script src="<%=request.getContextPath() %>/resources/js/purchase/paymentApS.js"
          type="text/javascript"></script>
  <script src="<%=request.getContextPath() %>/resources/js/purchase/paymentApCheckList.js"
          type="text/javascript"></script>
  <script type="text/javascript">
    $(function () {
      parent.$.messager.progress('close');
    });
    $(function () {
      initSelect($('#paidStatus'), paidStatus);
      initSelect($('#payMethod'), payMethodArray);
      $('#paidStatus').val('2');
      searchFun('/payment/selectPageCheckPaidApplicationList.html', $('#dataGrid'), getPayApOptions);

      $('#editFunction').click(function () {
        viewPaymentFunction($('#dataGrid'));
      })
    });

  </script>
</head>
<body>
<div class="easyui-layout" data-options="fit : true,border : false">
  <div data-options="region:'north',title:'采购付款申请审批',border:false" style="height: 140px; overflow: hidden;">
    <form id="searchForm">
      <div class="mTop20 mLeft60">
        <div class="mTop10 line-handsome">
          <div class="fLeft label-handsome ">
            <label>供应商名称:</label>
            <input id="memberName" name="providerName" class="easyui-input"/>
          </div>
          <div class="fLeft label-handsome ">
            <label>付款申请状态:</label>
            <select id="paidStatus" name="paidStatus" style="width:150px">
            </select>
          </div>
          <div class="fLeft label-handsome ">
            <label>支付方式:</label>
            <select id="payMethod" name="payMethod" style="width:150px">
            </select>
          </div>
        </div>
        <div class="mTop10 line-handsome">

          <div class="fLeft label-handsome ">
            <label>申请日期:</label>
            <input id="appstarttime" name="startDate" class="easyui-datebox" style="width:90px"/>
            &nbsp;-&nbsp;
            <input id="appendtime" name="endDate" class="easyui-datebox" style="width:90px"/>
          </div>
          <div class="fLeft label-handsome ">
            <label>采购合同号:</label>
            <input id="contractCode" name="contractCode" class="easyui-input"/>
          </div>
          <div class="fLeft label-handsome ">
            <label>申请单号:</label>
            <input id="paidAppNumber" name="paidAppNumber" class="easyui-input"/>
          </div>
        </div>
        <div class="mTop10 line-handsome">

          <div class="fRight">
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-search'"
               onclick="searchFun('/payment/selectPagePaidApplicationList.html', $('#dataGrid'), getPayApOptions);">搜索</a>
            <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'brick_delete'"
               onclick="cleanFun();">清空搜索条件</a>
          </div>
        </div>
      </div>
    </form>
  </div>
  <div data-options="region:'center',title:'采购付款申请合同信息列表',border:false">
    <table id="dataGrid"></table>
  </div>
</div>
<div id="toolbar" style="display: none;">
  <%--<c:if test="${fn:contains(sessionInfo.resourceList, '/userController/editPage')}">--%>
  <a id="editFunction" href="javascript:void(0);" class="easyui-linkbutton"
     data-options="plain:true,iconCls:'style_edit'">审批</a>
  <%--</c:if>--%>
</div>

</body>
</html>